In 2004, long-simmering resentment in the southern-most Muslim-majority provinces burst into violence in Narathiwat, Pattani and Yala provinces. All are off the beaten tourist trail, although the eastern rail line from Hat Yai to Sungai Kolok gateway to Malaysia's east coast passes through the area and has been disrupted several times by attacks.
Hat Yai Thailand's largest city after Bangkok and its Nonthaburi suburbs in Songkhla has also been hit by a series of related bombings, however the main cross-border rail line connecting Hat Yai and Butterworth on the west coast has not been affected, and none of the islands or the west coast beaches have been targeted.
In September 2006, three foreigners were killed in bombings in Hat Yai. Some rebel groups have threatened foreigners, but while targets have included hotels, karaoke lounges and shopping malls, westerners have not been singled out for attacks.